import { TextField, Stack, Button, Box } from "@mui/material";
import BaseCard from "components/BaseCard";
import PostAddComment from "components/Post/PostAddComment";
import CommentCard from "components/Comment/CommentCard";
const PostComments = ({ comments, id }) => {
  console.log(comments);

  return (
    <BaseCard>
      <PostAddComment id={id} />
      {comments && comments.map((x) => <CommentCard {...x} key={x.id} />)}
    </BaseCard>
  );
};

export default PostComments;
